<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'login.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <span><%=basePath%></span>
    <form action="<%=basePath%>doLogin" method="post" >
	<Table>
		<Tr>
			<td>姓名</Td>
			<td><input type="text" name="userName" id="account"/></Td>
		</Tr>
		<Tr>
			<td>账户</Td>
			<td><input type="text" name="account" id="account"/>   </Td>
		</Tr>
		<Tr>
			<td>密码</Td>
			<td><input type="password" name="password" id="password">  </Td>
		</Tr>
		<tr> <td colspan="2"> <input type="submit"> </td> </tr>
	</Table> 
	</form>
  </body>
</html>
